package com.util;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UrlController {

    @RequestMapping("/Dept/{path}")
    public String url(@PathVariable String path){
        System.out.println(path);
        path = "/部门表CURD/"+path;
        return path;
//        return "";
    }
}
